﻿<UserControl x:Class="Projecturo.ProjecturoClient.View.TimeRecordListView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto">
    <DockPanel>
        <ListView  ItemsSource="{Binding Path=TimeRecords}">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Title" DisplayMemberBinding="{Binding Name}"/>
                    <GridViewColumn Header="Created" DisplayMemberBinding="{Binding CreateDate}"/>
                    <GridViewColumn Header="Creator" DisplayMemberBinding="{Binding CreatedBy.ShortName}"/>
                    <GridViewColumn Header="Start" DisplayMemberBinding="{Binding StartDate}"/>
                    <GridViewColumn Header="End" DisplayMemberBinding="{Binding EndDate}"/>
                </GridView>
            </ListView.View>
        </ListView>
    </DockPanel>
</UserControl>
